package bean;

/**
 * Created by Administrator on 2015/4/22.
 */
public class CarYouHui {
    private String CarName;
    private String compName;
    private String img;
    private String dealerNewsId;
    private String modelId;
    private double price;
    private  double downPrice;
    private String area;

    public CarYouHui(String carName, String compName, String img, String dealerNewsId, String modelId, double price, double downPrice, String area) {
        CarName = carName;
        this.compName = compName;
        this.img = img;
        this.dealerNewsId = dealerNewsId;
        this.modelId = modelId;
        this.price = price;
        this.downPrice = downPrice;
        this.area = area;
    }

    public CarYouHui() {
    }

    public String getCarName() {
        return CarName;
    }

    public void setCarName(String carName) {
        CarName = carName;
    }

    public String getCompName() {
        return compName;
    }

    public void setCompName(String compName) {
        this.compName = compName;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getDealerNewsId() {
        return dealerNewsId;
    }

    public void setDealerNewsId(String dealerNewsId) {
        this.dealerNewsId = dealerNewsId;
    }

    public String getModelId() {
        return modelId;
    }

    public void setModelId(String modelId) {
        this.modelId = modelId;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getDownPrice() {
        return downPrice;
    }

    public void setDownPrice(double downPrice) {
        this.downPrice = downPrice;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    @Override
    public String toString() {
        return "CarYouHui{" +
                "CarName='" + CarName + '\'' +
                ", compName='" + compName + '\'' +
                ", img='" + img + '\'' +
                ", dealerNewsId='" + dealerNewsId + '\'' +
                ", modelId='" + modelId + '\'' +
                ", price=" + price +
                ", downPrice=" + downPrice +
                ", area='" + area + '\'' +
                '}';
    }
}
